#include<iostream>
using namespace std;
int main(){
	double a=1,b=2,sum=1;
	for(int i=0;a!=1987;i++){
		sum=sum*a/b;
		a+=2;
		b+=2;
	}
	printf("\n%.10lf",sum); 
}
